package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BillBusinesstrip2Cost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
/**
 * 出差报销明细项

 * 
 * @author 
 * @email 
 * @date 2021-05-11 17:51:27
 */
@Mapper
public interface BillBusinesstrip2CostDao  {

    int save(BillBusinesstrip2Cost billBusinesstrip2Cost);

    int update(BillBusinesstrip2Cost billBusinesstrip2Cost);

    int delete(String id);

    int deleteByRefId(String refId);

    BillBusinesstrip2Cost findById(String id);

    List<BillBusinesstrip2Cost> findByRefId(String refId);

    List<BillBusinesstrip2Cost> findAll(Map<String, Object> params);

}
